﻿@model IEnumerable<shop.SanPham>
@*@using shop.until
@using PagedList.Mvc*@
@{
    Layout = null;
   
}
@foreach(var item in Model)
{
    <li class="item first span3">
                <div class="products-box">


                    <div class="view view-third">
                        <img alt="@item.TenSP" src="/images/sanpham/@item.HinhAnh">
                        <div class="mask">
                            <h2>@item.TenSP</h2>
                            <br />
                            <p style="font-size: 25px">Giá: @String.Format("{0:0,0 đ}", @item.Gia)</p>
                            @*<a href="/sanpham/chitiet?MaSP=@item.MaSP" class="info">Xem chi tiết</a>*@
                           @Html.RouteLink("Xem chi tiết", "chitietsanpham", new { tensanpham = item.TenSP, MaSP = item.MaSP }, new { @class="info"})
                        </div>
                    </div>

                    <div class="price-action">
                        <div class="price-box">
                            <span class="regular-price" id="product-price-44">
                                <span class="price">@item.TenSP </span>
                            </span>
                        </div>
                    </div>
                </div>
            </li>
}
@*@Html.PagedListPager(Model, page => Url.RouteUrl("danhmuc2", new {tendanhmuc=XoaTiengViet.RemoveSign4VietnameseString(ten), type= ty,ID = ID, page }))*@